import { CardEditableParamsDefault, CardDataEditableParamsCommonDefault } from "@/views/card/js/data/cardDatas/card-datas-default.js";
import TooltipsData from "@/views/card/js/data/tooltipsData/tooltips-data.js";
const CARD_206 =  {
  // aspect_ratio: {},
  Idx_mid: {
    ...CardEditableParamsDefault.InputNormal,
    label: 'Mids',
    placeholder: '多个请用,隔开/不能有空格',
    disabled: true,

    param_effect_parent: {
      effect_parent_keys: ['items'],
      effect_type: ['MID_JOIN'],
      effect_mid_join: {
        key: 'Idx_mid',
      },
    },
  },
  items: {
    ...CardEditableParamsDefault.Lists,
    label: '视频',
    limit: 6,
    param_params: {
      Idx_mid: {
        ...CardEditableParamsDefault.InputNormal,
        label: '视频博文MID',
        placeholder: '请输入视频博文MID',
      },
      // object_id: {
      //   ...CardEditableParamsDefault.InputNormal,
      //   label: 'object_id',
      //   placeholder: '请输入object_id',
      // },
      page_pic: {
        ...CardEditableParamsDefault.ImageNormal,
        label: '封面',
        res_type: 'String',  // Array : fileList, String : value
        placeholder: '尺寸严格按照设置的宽高，小于500kb，jpg,jpeg,png,gif格式',
        limit: 1,
        size: 500,
        accept: '.jpg, .jpeg, .png, .gif',
        tooltips: TooltipsData.image[3],
      },
      media_info: {
        ...CardEditableParamsDefault.Obj,
        label: '视频配置',
        param_params: {
          // stream_url: {
          //   ...CardEditableParamsDefault.InputNormal,
          //   label: 'stream_url',
          //   placeholder: '请输入stream_url',
          // },
          // media_id: {
          //   ...CardEditableParamsDefault.InputNormal,
          //   label: 'media_id',
          //   placeholder: '请输入media_id',
          // },
          open_scheme: {
            ...CardEditableParamsDefault.InputNormal,
            label: '跳转链接',
            placeholder: 'sinaweibo://videoh5?url=[转码链接]',
          },
          titles: {
            ...CardEditableParamsDefault.Lists,
            label: '标题配置',
            limit: 1,
            del_disable: true,
            param_params: {
              title: {
                ...CardEditableParamsDefault.InputNormal,
                label: '标题',
                placeholder: '请输入标题',
              }
            }
          },
          play_completion_actions: {
            ...CardEditableParamsDefault.Lists,
            label: '按钮配置',
            limit: 1,
            del_disable: true,
            param_params: {
              text: {
                ...CardEditableParamsDefault.InputNormal,
                label: '按钮名称',
                placeholder: '请输入按钮名称',
              },
              scheme: {
                ...CardEditableParamsDefault.InputNormal,
                label: '按钮链接',
                placeholder: '请输入按钮链接',
              },
            }
          }
        }
      },
    }
  },
  ...CardDataEditableParamsCommonDefault,
};
export default CARD_206;
